package com.thingsgrid.appmanager.feign;

import org.springblade.core.launch.constant.AppConstant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 功能说明：MQTT消息处理feign
 *
 * @author 李龙飞
 * @since 2019/8/28 18:08
 */
@FeignClient(value = AppConstant.APPLICATION_NAME_PREFIX+"application")
public interface AppMqttMessageFeign {

	@GetMapping("/mqtt/receiveMqttMessage")
	void receiveMqttMessage(@RequestParam("topic") String topic, @RequestParam("msg") String msg);

}
